.app-container {
  margin: 10px;
  padding: 15px;
  min-width: 750px;
  min-height: 500px;
  -webkit-box-shadow: 0 0 1px 0 rgba(0,0,0,0.2);
  box-shadow: 0 0 1px 0 rgba(0,0,0,0.2);
  margin-right: 100px;
  background-color: #fff;
}
.app-design {
  min-width: 750px;
  width: 750px;
  margin: 0 80px 0;
}
.app-design .app-preview {
  position: relative;
  float: left;
  width: 320px;
  background: #fff;
  margin-bottom: 24px;
}
.app-design .errors {
  padding: 0 0 0 20px;
  color: red;
  display: none;
}
.app-design .dropdown > .dropdown-toggle {
  display: block;
  padding-top: 3px;
}
.app-design .dropdown.hover:HOVER > .dropdown-menu {
  display: block;
  margin-top: -1px;
}
/*====================================================
     设计
========================================================*/
.app-design .app-header {
  display: none;
  height: 70px;
  background: url("../img/iphone_head.png") no-repeat center center;
}
.app-design .app-preview .app-entry {
  width: 320px;
  margin: 0 auto;
  padding-bottom: 11px;
  min-height: 200px;
  background: #f9f9f9;
  -webkit-box-shadow: 0 0 0 1px #c5c5c5;
  box-shadow: 0 0 0 1px #c5c5c5;
}
.app-preview .app-field {
  background-color: #f9f9f9 ! important;
}
.app-design .app-preview .app-field {
  position: relative;
  cursor: move;
  -webkit-user-select: none;
}
.app-design .app-preview .app-config h1 {
  padding: 18px 60px 0 60px;
  height: 64px;
  line-height: 46px;
  font-size: 16px;
  color: #fff;
  font-weight: bold;
  text-align: center;
  background: url("../img/titlebar.png") no-repeat;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.app-design .app-preview .app-field .control-group {
  margin: 0;
  width: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  min-height: 8px;
}
.app-design .app-preview .actions {
  position: absolute;
  display: none;
  left: 0;
  bottom: 0;
  height: 100%;
  width: 320px;
  border: 2px dashed rgba(255,0,0,0.5);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  z-index: 200;
}
.app-design .app-preview .actions .actions-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
}
.app-design .app-preview .actions .action {
  display: inline-block;
  background-color: rgba(0,0,0,0.3);
  color: #fff;
  padding: 0 5px;
  margin-left: 1px;
  font-size: 12px;
}
.app-design .app-preview .app-fields .sort {
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -10px;
  cursor: move;
  z-index: 1;
}
.app-design .app-preview .app-field.editing .actions {
  display: inline-block;
}
.app-design .app-preview .app-field:HOVER .actions {
  display: inline-block;
}
.app-design .app-add-field {
  position: relative;
  padding: 0 6px 4px 10px;
  background: #f8f8f8;
  width: 320px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.app-design .app-preview .app-add-field {
  position: relative;
  left: 0;
  top: 0;
  border-top: 1px solid #ddd;
  -webkit-box-shadow: 0 0 0 1px #ddd;
  box-shadow: 0 0 0 1px #ddd;
}
.app-design .app-preview .app-add-field:before, .app-design .app-preview .app-add-field:after {
  position: absolute;
  content: ' ';
  border: 8px solid transparent;
  border-bottom-width: 10px;
  border-bottom-color: #f8f8f8;
  top: -16px;
  left: 148px;
}
.app-design .app-preview .app-add-field:before {
  top: -19px;
  border-bottom-color: #ddd;
}
.app-design .app-add-field h4 {
  text-align: center;
  font-size: 14px;
  line-height: 40px;
  font-weight: bold;
}
.app-design .app-add-field ul {
  color: #333;
  font-size: 12px;
  margin-left: -5px;
  zoom: 1;
}
.app-design .app-add-field ul:after {
  content: "";
  display: table;
  clear: both;
}
.app-design .app-add-field li {
  float: left;
  display: table;
  margin: 0 0 10px 5px;
  background: #fff;
}
.app-design .app-add-field li a {
  display: table-cell;
  width: 56px;
  height: 40px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #d1d1d1;
  line-height: 14px;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
}
.app-design .app-sidebar {
  position: relative;
  float: left;
  width: 420px;
  margin-left: 10px;
  padding-bottom: 50px;
  font-size: 14px;
}
.app-design .app-sidebar .arrow, .app-design .app-sidebar .arrow:after {
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 6px 7px 6px 0;
  border-color: transparent #d1d1d1 transparent transparent;
  position: absolute;
  left: -6px;
  top: 19px;
}
.app-design .app-sidebar .app-sidebar-inner {
  padding: 12px 10px;
  min-height: 100px;
  background: #f8f8f8;
  border-radius: 5px;
  border: 1px solid #d1d1d1;
}
.app-design .form-horizontal {
  margin: 0;
}
.app-design .form-horizontal input[type=color] {
  width: 60px;
}
.app-design .form-horizontal .control-group .control-label {
  width: 85px;
}
.app-design  .form-horizontal .control-group .controls {
  margin-left: 95px;
}
.app-design  .form-horizontal .link-to {
  display: block;
  line-height: 20px;
  padding-top: 3px;
  position: relative;
}
.app-design  .form-horizontal .link-to-title-text {
  border-left: 1px solid #fff;
  padding-left: 5px;
  vertical-align: bottom;
}
.app-design  .form-horizontal textarea {
  width: 100%;
  height: 600px;
}
.app-design  .module-goods-list li, .app-design  .app-image-list li {
  float: left;
  margin: 0 10px 10px 0;
  display: block;
  width: 50px;
  height: 50px;
  border: 1px solid #ddd;
  background-color: #fff;
  position: relative;
}
.app-design .module-goods-list li .add-goods, 
.app-design .module-goods-list li .add, 
.app-design .app-image-list li .add-goods, 
.app-design .app-image-list li .add {
  display: inline-block;
  width: 100%;
  height: 100%;
  line-height: 50px;
  text-align: center;
  cursor: pointer;
}
.app-design  .module-goods-list li:HOVER .close-modal, 
.app-design  .app-image-list li:HOVER .close-modal{
  display: block !important;
}
.app-design .controls-card {
  padding: 20px;
  border: 1px solid #e5e5e5;
  background: #fff;
  margin-left: -90px;
}
.app-design .controls-card .controls-card-tab {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #e5e5e5;
}
.app-design .controls-card .controls-card-item {
  margin-bottom: 10px;
}
.app-design .app-sidebar .options {
  background: #fff;
  border: 1px solid #e5e5e5;
}
.app-design .app-sidebar .options a.add-option {
  display: block;
  line-height: 45px;
  padding: 0 10px;
}
.app-design .app-sidebar .options .edit-tag-list {
  border-top: 1px solid #ddd;
  position: relative;
  padding: 5px 0;
}
.app-design .app-sidebar .choice {
  position: relative;
  border: 1px solid #e5e5e5;
  margin: 10px 0 0 0;
  padding: 14px;
  background: #fff;
  zoom: 1;
}
.app-design .app-sidebar .choice:after {
  content: "";
  display: table;
  clear: both;
}
.app-design .app-sidebar .choice .choice-image {
  position: relative;
  float: left;
  width: 120px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
}
.app-design .app-sidebar .choice .choice-image img {
  min-height: 120px;
  border: 1px solid #e5e5e5;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.app-design .app-sidebar .choice .choice-image .modify-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 118px;
  height: 32px;
  line-height: 32px;
  color: #fff;
  background: rgba(0,0,0,0.5);
}
.app-design .app-sidebar .choice .choice-content {
  float: left;
  width: 248px;
}
.app-design .app-sidebar .choice input[type=text] {
  width: 150px;
}
.app-design .app-sidebar .actions {
  position: absolute;
  top: -10px;
  right: -10px;
}
.app-design .app-sidebar .choice .actions {
  display: none;
}
.close-modal {
  position: absolute;
  z-index: 2;
  top: -9px;
  right: -9px;
  width: 20px;
  height: 20px;
  font-size: 16px;
  line-height: 18px;
  color: #fff;
  text-align: center;
  cursor: pointer;
  background: rgba(153,153,153,0.6);
  border-radius: 10px;
}
.app-design .app-sidebar .actions .close-modal {
  position: static;
  display: inline-block;
  margin-right: 5px;
}
.app-design .app-sidebar .choice:HOVER .actions{
  display: block;
}
.app-design .app-sidebar .choice .choice-image .add-image {
  display: block;
  width: 120px;
  height: 80px;
  line-height: 80px;
  border: 1px solid #e5e5e5;
  vertical-align: middle;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.cube2-edit table {
  width: 240px;
}
.cube2-edit table td {
  width: 60px;
  height: 60px;
  cursor: pointer;
  text-align: center;
  color: #ccc;
  background-color: rgba(0,0,0,0.1);
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.cube2-edit table td.empty {
  background-color: transparent;
}
.cube2-edit table td.empty:after {
  content: '+';
}
.cube2-edit table td.current {
  -webkit-box-shadow: 0 0 0 2px #858585 inset;
  box-shadow: 0 0 0 2px #858585 inset;
  padding: 2px;
}
.cube2-edit table td.rows-2 {
  height: 120px
}
.cube2-edit table td.rows-3 {
  height: 180px
}
.cube2-edit table td.rows-4 {
  height: 240px
}
.cube2-edit table td.cols-2 {
  width: 50%;
}
.cube2-edit table td.cols-3 {
  width: 75%;
}
.cube2-edit table td.cols-4 {
  width: 100%;
}
.cube2-edit table td.index-0 {
  background-color: #BEEB9F
}
.cube2-edit table td.index-1 {
  background-color: #FFFF9D
}
.cube2-edit table td.index-2 {
  background-color: #DB9E36
}
.cube2-edit table td.index-3 {
  background-color: #79BD8F
}

.cube2-edit table td.index-4 {
  background-color: #00A388
}
.cube2-edit table td.index-5 {
  background-color: #225378
}
.cube2-edit table td.index-6 {
  background-color: #1695A3
}
.cube2-edit table td.index-7 {
  background-color: #BEDB39
}
.cube2-edit table td.index-8 {
  background-color: #F3FFE2
}
.cube2-edit table td.index-9 {
  background-color: #EB7F00
}
.cube2-edit table td.index-10 {
  background-color: #7D8A2E
}
.cube2-edit table td.index-11 {
  background-color: #C9D787
}
.cube2-edit table td.index-12 {
  background-color: #FFC0A9
}
.cube2-edit table td.index-13 {
  background-color: #FF8598
}
.cube2-edit table td.index-14 {
  background-color: #FFD34E
}
.cube2-edit table td.index-15 {
  background-color: #ACF0F2
}
.cube2-edit table .has-img{
	height: 100%;
	width: 100%;
}
.cube2-edit table span {
	color: #fff;
	text-shadow: 0 0 1px #000
}
.layout-table {
  padding: 40px 195px;
}
.layout-table:AFTER {
  content: "";
  display: block;
  clear: both;
}
.layout-cols {
  float: left;
}
.layout-cols li {
  margin: 1px;
  background: #f8f8f8;
  width: 60px;
  height: 60px;
  border: 1px solid #e9e9e9;
  border-right-width: 2px;
  border-bottom-width: 2px;
}
.layout-cols li.selected {
  background: #ddeafb;
  border-color: #c3d9ff;
}
.app-design .app-actions {
  position: fixed;
  top: 0px;
  right: 110px;
  border-radius: 0 0 10px 10px;
  overflow: hidden;
}
.app-design .app-actions > .bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #333;
  opacity:0.5;
}
.app-design .app-actions > .form-actions {
  margin: 0;
  position: relative;
  background-color: transparent;
}
.app-design .custom-scroll .choose-music {
  padding-top: 2px;
  display: inline-block;
  vertical-align: middle
}
.app-design .custom-scroll .music-box {
  position: relative;
  display: inline-block;
  margin-right: 10px
}
.app-design .custom-scroll .input-small {
  width: 80px;
}
.app-design .custom-scroll .music-box .label {
  max-width: 190px;
  overflow: hidden;
  vertical-align: bottom;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden
}
.app-design .custom-scroll .custom-scroll-pages {
  margin: 0 10px
}
.app-design .custom-scroll .custom-scroll-pages h4 {
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: normal;
  border-top: 1px solid #ccc;
  margin-top: 10px;
  height: 30px;
  line-height: 30px;
}
.app-design .custom-scroll .custom-scroll-page .choice {
  margin: 10px 0
}
.app-design .custom-scroll .custom-scroll-page .choice .choice-image-box {
  float: left;
  width: 110px
}
.app-design .custom-scroll .custom-scroll-page .choice .choice-image-box .controls {
  margin: 0;
  text-align: center
}
.app-design .custom-scroll .custom-scroll-page .choice .choice-content {
  width: 238px
}
.app-design .custom-scroll .custom-scroll-page .choice .choice-content .link-to-title span {
  max-width: 108px
}
.app-design .custom-scroll .custom-scroll-page .options {
  margin: 0
}
.app-design .custom-scroll .add-image {
  background: #fff;
  display: inline-block;
  padding: 6px 0;
  border: 1px solid #ccc;
  border-radius: 2px;
  min-width: 100px;
  text-align: center
}
.app-design .custom-scroll .image-box {
  position: relative;
  width: 100px;
  height: 140px;
  border: 1px solid #ccc
}
.app-design .custom-scroll .image-box .image {
  width: 100px;
  height: 140px
}
.app-design .custom-scroll .image-box .modify-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 32px;
  line-height: 32px;
  color: #fff;
  background: rgba(0,0,0,.5);
  text-align: center;
  font-size: 12px
}
.app-design .custom-scroll .before-wipe {
  margin-right: 30px
}
.app-design .custom-scroll .link-to-title span {
  max-width: 110px
}
.app-design .custom-scroll-page .image-box {
  margin-bottom: 10px;
}